package com.map.ui;
import android.os.Bundle;
import android.content.pm.ActivityInfo;

public class FileListActivity extends com.xl.filelist.FileListActivity
{

	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
	  if(BaseConfig. themeText.equals("白色"))
		{
			setTheme(R.style.AppTheme_Light);
		}
		else 
		{
			setTheme(R.style.AppTheme);
		}

		if(BaseConfig.screen.equals("横屏"))
		{
			BaseConfig. orientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;
		}
		else if(BaseConfig.screen.equals("竖屏"))
		{
			BaseConfig. orientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
		}
		else
		{
			BaseConfig. orientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
		}
		setRequestedOrientation(BaseConfig.orientation);
		
		super.onCreate(savedInstanceState);
		
	}
	
}
